//    This file is part of House Unplugged (HU).
//
//    Copyright (C) 2016-2019  SISYFOS and TEROC AB.
//
//    HU is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    HU is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with HU.  If not, see <http://www.gnu.org/licenses/>.
//
//    Note that HU depends on other software, with different licensing
//    conditions.
//
//    For more information, contact Sven Ruin, sven.ruin@teroc.se

In "Hus Utan Sladd", data is sent from PLC1 to a Raspberry Pi running 
Emoncms.

The following files stored in these subfolders under Emoncms are part of HU 
and can be added to an existing Emoncms installation (not only on a 
Raspberry Pi):
...\emoncms\Modules\vis\vis_controller.php
...\emoncms\Modules\vis\Views\battery.css
...\emoncms\Modules\vis\Views\piview.js
...\emoncms\Modules\vis\Views\piview.php
...\emoncms\Modules\vis\Views\report_view.js
...\emoncms\Modules\vis\Views\report_view.php
...\emoncms\Modules\vis\Views\report_view_swe.js
...\emoncms\Modules\vis\Views\report_view_swe.php

The purpose of these files is to display some of the present data on a 
screen in a mirror in Hus Utan Sladd and to provide web reports, for 
example showing how much energy has been used in the house during a 
certain period.
 
Note that version 1.1 of our software in PLC1 uses HTTP 1.0, which works 
with the Raspberry Pi in the house, but may not with a web hosting 
service like Loopia (that can require HTTP 1.1 or later).

In addition, the following files released by Nick Downie under the MIT 
license (see chartjs.org) should be added in ...\emoncms\Modules\vis\Views:
Chart.js (version 2.1.6)
Chart.min.js (version 2.1.6)
